home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 8 / defrag.zip / DEFRAG.DOC < prev   
Text File  |  1986-11-25  |  6KB  |  127 lines

  1.  
  2.  
  3.  
  4.                          === D E F R A G === 
  5.  
  6.  
  7.  
  8. SYSTEM REQUIREMENTS 
  9.  
  10. DEFRAG requires BASICA and PC-DOS 2.0.  It may work on other IBM-PC lookalikes, 
  11. but other hardware/software combinations have not been tested. 
  12.  
  13. OVERVIEW 
  14.  
  15. DEFRAG was written to facilitate de-fragmenting PC-DOS diskettes.  If you are 
  16. continuously modifying the files on a diskette it does not take long for the 
  17. files on the diskette to become `fragmented', i. e., the files will consist of 
  18. several groups of non-contiguous tracks and/or sectors.  This `fragmentation' 
  19. of allocated space causes two problems: (1) Existing files take much longer to 
  20. load because of excessive disk drive head movement across multiple tracks, and 
  21. (2) New files get allocated in non-contiguous blocks because of `fragmented' 
  22. free space on the diskette.  Thus, the fragmentation problem tends to become 
  23. self propogating. 
  24.  
  25. The DOS Manual recommends using COPY *.* to copy all the files on a fragmented 
  26. diskette to a new one.  Doing this will `collect' all the non-contiguous parts 
  27. of each file into one single block on the target (new) diskette.  However,  
  28. COPY *.* copies the files in the order they appear in the source diskette       
  29. directory -- and this may not be the order you want them in.  For instance, 
  30. it is best to have frequently used files first on the diskette so they can be 
  31. close to the diskette directory.  This way disk arm movement is minimized when 
  32. these frequently used files are accessed. 
  33.  
  34. DEFRAG overcomes this problem by providing the following capabilities: 
  35.         1. Full screen display of all files in the directory sorted 
  36.            alphabetically. 
  37.         2. The ability to select, via the cursor control keys, any  
  38.            or all of the files on the diskette in any order. 
  39.         3. Automatic invocation of the DOS COPY utility to copy the 
  40.            files in the order selected. 
  41. In addition, DEFRAG allows: 
  42.         4. The ability to delete selected files. 
  43.         5. The ability to invoke any DOS command without leaving 
  44.            the program. 
  45.  
  46. METHOD OF OPERATION 
  47.  
  48. DEFRAG uses the SHELL command to read directories, sort their contents, copy 
  49. files, and invoke DOS commands.  It uses Function Key interrupt processing 
  50. to read the various Function Keys and Cursor Control Keys.  These are all 
  51. BASICA/DOS 2.0 capabilities. 
  52.  
  53. When DEFRAG starts it requests input of three disk drive identifiers: 
  54.         Work (RAM) drive: this is where DEFRAG will place the sorted  
  55.                           directory contents.  If you have RAM drive 
  56.                           DEFRAG will copy COMMAND.COM and SORT.EXE 
  57.                           there; this greatly speeds up execution. 
  58.         Source drive: this is the drive containing the diskette that 
  59.                       DEFRAG is to copy from.  Nothing is written by 
  60.                       DEFRAG to this diskette.  Files selected for 
  61.  
  62.  
  63. Peninsula Software - 28510 Blythewood Drive - Rancho Palos Verdes CA - 90274 
  64.  
  65.  
  66.  
  67.                          === D E F R A G === 
  68.  
  69.  
  70.                       deletion are deleted from the source disk, not 
  71.                       the target disk.  Deletion normally takes place 
  72.                       after copying. 
  73.         Target drive: this is the drive containing the diskette DEFRAG 
  74.                       is to copy to; i. e., files will be copied from 
  75.                       the source disk to the target disk. 
  76.  
  77. The Function Keys are used as follows: 
  78.  
  79. F1: select a file for copy or delete 
  80. F2: restart DEFRAG allowing new source/target disk specifications 
  81. F3: copy all selected files from source disk to target disk 
  82. F7: delete all selected files from source disk 
  83. F9: allow input of any DOS command, then perform it 
  84. F10: end DEFRAG and return to BASIC (not DOS) 
  85. Arrow (cursor control) keys: move cursor around display of files to allow 
  86.                              individual files to be selected by F1 
  87.  
  88. RESTRICTIONS/LIMITATIONS 
  89.  
  90. 1. DEFRAG does not handle sub-directories. 
  91. 2. DEFRAG assumes SORT.EXE and COMMAND.COM are on Drive a: 
  92. 3. If you respond other than a: to the location of the work (RAM) drive, 
  93.    DEFRAG copies SORT.EXE and COMMAND.COM there and then patches DOS to 
  94.    use those files instead of the ones on drive a:.  This occurs only if 
  95.    the work (RAM) drive is specified as being different from drive a:. 
  96.    Note that DEFRAG will reset DOS to use COMMAND.COM on drive a: when 
  97.    it ends, and it will delete all files it created from the work (RAM) 
  98.    drive.  DEFRAG must be allowed to end normally, i. e., by F10, if this 
  99.    `cleanup' is to occur. 
  100. 4. F9 allows you to invoke any DOS command.  This can be dangerous.  You 
  101.    cannot execute BASIC however, since only one copy of BASIC (actually 
  102.    BASICA) can be functioning at one time.  Remember that any DOS command 
  103.    you invoke will end up returning to DEFRAG, not to DOS, so don't do 
  104.    things like deleting DEFRAG's work or PIPE files. 
  105. 5. DEFRAG resets all 10 function keys when it ends.  These specifications 
  106.    can be easily changed if you prefer different assignments. 
  107.  
  108. COMMENTS/SUGGESTIONS 
  109.  
  110. Please direct comments and/or suggestions to the author via the U. S. Mail  
  111. or to the Compuserve user ID #72356,556. 
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126. Peninsula Software - 28510 Blythewood Drive - Rancho Palos Verdes CA - 90274